package com.yc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("tb_food")
public class FoodBean {
    @TableId(type = IdType.AUTO)
    Integer id;
    @TableField("food_name")
    String food_name;
    @TableField("foodtype_id")
    Integer foodtype_id;
    @TableField("totalbuynum")
    Integer totalbuynum;
    @TableField("price")
    Double price;
    @TableField("discount")
    Double discount;
    @TableField("remark")
    String remark;
    @TableField("img")
    String img;
    @TableField("create_date")
    Timestamp create_date;
    @TableField("update_date")
    Timestamp update_date;
    @TableField("disabled")
    Integer disabled;
}
